/*
 * Copyright (c) 2015. 石头哥哥
 */

package com.suweia;


import com.suweia.common.suweiredis.SuWeiJedisService;

/**
 *
 */
public class RedisTest {

    public static void main(String[] args) throws Exception {
//        SpringApplication.run(RedisTest.class);
        final SuWeiJedisService suWeiJedisService = new SuWeiJedisService();
        suWeiJedisService.setJedisPropertiesPath("res/jedis.properties");
        suWeiJedisService.initJedisService();

        Thread.sleep(1000);


        suWeiJedisService.zrevremrange("key",0,0);
    }
}
